<?php
header('content-type:text/html;charset=utf-8');

//二维数组
$arr = array(
    'nanfang'=>array('椰子','芒果','菠萝','香蕉'),
    'beifang'=>array('冬枣','苹果','橘子','鸭梨')
);

echo $arr['beifang'][1];